<!--
 * @Description:
 * @Version: 1.0
 * @Autor: silencc
 * @Date: 2020-08-14 09:05:20
 * @LastEditors: silencc
 * @LastEditTime: 2020-09-21 11:52:15
-->
<template>
  <!-- <div class="home"> -->
  <div class="page_main">
    <!-- 顶部导航栏 -->
    <top v-loading="loading" :info="info" />
    <my-gap height="20px" />
    <!-- 待办事项 -->
<!--    <todo v-loading="loading" :info="info" />-->
    <my-gap height="20px" />
    <!-- 图表 -->
    <!-- <charts /> -->
  </div>
  <!-- </div> -->
</template>

<script>
import top from "./home/top";
import todo from "./home/todo";
import charts from "./home/charts";
export default {
  components: {
    top,
    todo,
    charts
  },
  data() {
    return {
      loading: false,
      info: {}
    };
  },
  created() {
    // this.getData();
  },
  methods: {
    async getData() {
      this.loading = true;
      // const [err, res] = await this.$Api.getApi("statistics").get("info");
      this.loading = false;
      // if (!err && res) {
      //   this.info = res;
      // }
    }
  }
};
</script>
<style lang="scss" scoped>
.page_main {
  overflow-x: hidden;
  overflow-y: auto;
}
</style>
